#include"selectsever.hpp"
#include"pollserver.hpp"
int main(int argc, char* argv[]){
    if(argc!= 2){
        cerr << "Usage: " << argv[0] << " port" << endl;
        return 1;
    }
    unique_ptr<pollServer> server(make_unique<pollServer>(atoi(argv[1])));
    server->start();
    return 0;
}